﻿<!DOCTYPE HTML>
<html xmlns:th="http://www.thymeleaf.org">
<head>
<meta charset="utf-8" />
<meta name="renderer" content="webkit|ie-comp|ie-stand" />
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
<!-- <meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no" /> -->
<meta name="viewport" content="" />
<meta http-equiv="Cache-Control" content="no-siteapp" />
<link rel="shortcut  icon" type="image/x-icon" href="/images/favicon.ico" media="screen" />
<!--[if lt IE 9]>
<script type="text/javascript" src="/js/lib/html5.js"></script>
<script type="text/javascript" src="/js/lib/respond.min.js"></script>
<script type="text/javascript" src="/js/lib/PIE_IE678.js"></script>
<![endif]-->
<link rel="stylesheet" type="text/css" href="/js/lib/h-ui/css/H-ui.min.css" />
<link rel="stylesheet" type="text/css" href="/js/lib/h-ui.admin/css/H-ui.admin.css" />
<link rel="stylesheet" type="text/css" href="/js/lib/Hui-iconfont/1.0.7/iconfont.css" />
<link rel="stylesheet" type="text/css" href="/js/lib/icheck/icheck.css" />
<link rel="stylesheet" type="text/css" href="/js/lib/h-ui.admin/skin/blue/skin.css" id="skin" />
<link rel="stylesheet" type="text/css" href="/js/lib/h-ui.admin/css/style.css" />

<!--[if IE 6]>
<script type="text/javascript" src="/js/lib/DD_belatedPNG_0.0.8a-min.js" ></script>
<script>DD_belatedPNG.fix('*');</script>
<![endif]-->
<title>广投墙-管理平台</title>
</head>
<body id="app">
	<header class="navbar-wrapper">
		<div class="navbar navbar-fixed-top">
			<div class="container-fluid cl">
				<a class="logo navbar-logo f-l mr-10 hidden-xs" onclick="refarsh();">广投墙-管理平台</a>
				<nav id="Hui-userbar" class="nav navbar-nav navbar-userbar hidden-xs">
					<ul class="cl">
						<li></li>
						<li class="dropDown dropDown_hover"><a href="#" class="dropDown_A"> <span sec:authentication="principal.name"></span> ( <span id="IMuserName" sec:authentication="name"></span> ) <i class="Hui-iconfont">&#xe6d5;</i>
						</a>
							<ul class="dropDown-menu menu radius box-shadow">
								<!-- <li><a href="#">个人信息</a></li> -->
								<li><a id="changePassword">修改密码</a></li>
								<li><a href="/logout">退出</a></li>
							</ul></li>
						<!--<li id="Hui-msg"> <a href="#" title="消息"><span class="badge badge-danger">1</span><i class="Hui-iconfont" style="font-size:18px">&#xe68a;</i></a> </li>-->
						<li id="Hui-skin" class="dropDown right dropDown_hover"><a href="javascript:;" class="dropDown_A" title="换肤"> <i class="Hui-iconfont" style="font-size: 18px">&#xe62a;</i>
						</a>
							<ul class="dropDown-menu menu radius box-shadow">
								<li><a href="javascript:;" data-val="default" title="默认（黑色）">默认（黑色）</a></li>
								<li><a href="javascript:;" data-val="blue" title="蓝色">蓝色</a></li>
								<li><a href="javascript:;" data-val="green" title="绿色">绿色</a></li>
								<li><a href="javascript:;" data-val="red" title="红色">红色</a></li>
								<li><a href="javascript:;" data-val="yellow" title="黄色">黄色</a></li>
								<li><a href="javascript:;" data-val="orange" title="绿色">橙色</a></li>
							</ul></li>
					</ul>
				</nav>
			</div>
		</div>
	</header>
	<aside class="Hui-aside">
		<input runat="server" id="divScrollValue" type="hidden" value="" />
		<div class="menu_dropdown bk_2">

			<dl id="menu-system" sec:authorize="hasRole('ROLE_SYSTEM')">
				<dt>
					<i class="Hui-iconfont">&#xe62e;</i> 系统管理 <i class="Hui-iconfont menu_dropdown-arrow">&#xe6d5;</i>
				</dt>
				<dd>
					<ul>
						<li sec:authorize="hasRole('ROLE_USER_QUERY')"><a _href="/security/user/list" data-title="用户管理" href="javascript:void(0)">用户管理</a></li>
						<li sec:authorize="hasRole('ROLE_GROUP_QUERY')"><a _href="/security/group/list" data-title="角色管理" href="javascript:void(0)">角色管理</a></li>
						<li sec:authorize="hasRole('ROLE_ROLE_QUERY')"><a _href="/security/role/list" data-title="权限管理" href="javascript:void(0)">权限管理</a></li>
						<li><a sec:authorize="hasRole('ROLE_VERSION_LIST')" _href="/manager/appversion/list" data-title="app版本管理" href="javascript:void(0)">app版本管理</a></li>
						<li><a sec:authorize="hasRole('ROLE_IM_SETTING')" _href="/manager/Setting/list" data-title="IM设置" href="javascript:void(0)">IM设置</a></li>
					</ul>
				</dd>
			</dl>
			<dl id="menu-system">
				<dt sec:authorize="hasRole('ROLE_DEVICE_QUERY')">
					<i class="Hui-iconfont">&#xe63c;</i> <a _href="/manager/device/list" data-title="设备管理" href="javascript:void(0)">设备管理</a>
				</dt>
			</dl>
			<dl id="menu-system" sec:authorize="hasRole('ROLE_ADVERTISING')">
				<dt>
					<i class="Hui-iconfont">&#xe620;</i> 广告管理 <i class="Hui-iconfont menu_dropdown-arrow">&#xe6d5;</i>
				</dt>
				<dd>
					<ul>
						<li sec:authorize="hasRole('ROLE_ADS_PRODUCT_QUERY')" v-show="plaid"><a _href="/manager/product/list" data-title="商品" href="javascript:void(0)">商品</a></li>
						<li sec:authorize="hasRole('ROLE_ADS_COUPON_QUERY')" v-show="coupon"><a _href="/manager/ads/couponList" data-title="优惠券" href="javascript:void(0)">优惠券</a></li>
						<li sec:authorize="hasRole('ROLE_ADS_HOUSECAR_QUERY')" v-show="houseCar"><a _href="/manager/ads/houseCarList" data-title="房产/汽车" href="javascript:void(0)">房产/汽车</a></li>
						<li sec:authorize="hasRole('ROLE_ADS_VIDEO_QUERY')" v-show="video"><a _href="/manager/ads/videoList" data-title="视频" href="javascript:void(0)">视频</a></li>
						<li sec:authorize="hasRole('ROLE_ADS_IMAGE_QUERY')" v-show="pic"><a _href="/manager/ads/advertList" data-title="图片" href="javascript:void(0)">图片</a></li>
						<li sec:authorize="hasRole('ROLE_ADS_JEWELRY_QUERY')" v-show="jewelry"><a _href="/manager/ads/jewelryList" data-title="珠宝" href="javascript:void(0)">珠宝</a></li>
						<li sec:authorize="hasRole('ROLE_ADS_TRAVEL_QUERY')" v-show="travel"><a _href="/manager/ads/travelList" data-title="旅游" href="javascript:void(0)">旅游</a></li>
						<li sec:authorize="hasRole('ROLE_ADS_CLASSIFYPRODUCT_QUERY')" v-show="classifyProduct"><a _href="/manager/ads/classifyproductList" data-title="分类格子铺" href="javascript:void(0)">分类格子铺</a></li>
					</ul>
				</dd>
			</dl>
			<!-- 			<dl id="menu-system">
				<dt sec:authorize="hasRole('ROLE_PRODUCT_QUERY')">
					<i class="Hui-iconfont">&#xe620;</i>
					<a _href="/manager/product/list" data-title="商品管理" href="javascript:void(0)">广告管理</a>
				</dt>
			</dl> -->
			<dl id="menu-system" sec:authorize="hasRole('ROLE_PUT_PRODUCT')">
				<dt>
					<i class="Hui-iconfont">&#xe66a;</i> 广告投放管理 <i class="Hui-iconfont menu_dropdown-arrow">&#xe6d5;</i>
				</dt>
				<dd>
					<ul>
						<li sec:authorize="hasRole('ROLE_PUT_PRODUCT_DEV')"><a _href="/manager/deviceproductrecord/throw" data-title="商品投放" href="javascript:void(0)">格子铺投放</a></li>
						<li sec:authorize="hasRole('ROLE_PUT_ADS_DEV')"><a _href="/manager/deviceadsrecord/put" data-title="广告投放" href="javascript:void(0)">广告投放</a></li>
						<li sec:authorize="hasRole('ROLE_PUT_PRODUCT_HISTORY_QUERY')"><a _href="/manager/deviceproductrecord/list" data-title="格子铺投放记录" href="javascript:void(0)">格子铺投放记录</a></li>
						<li sec:authorize="hasRole('ROLE_PUT_ADS_HISTORY_QUERY')"><a _href="/manager/deviceadsrecord/list" data-title="广告投放记录" href="javascript:void(0)">广告投放记录</a></li>
						<li><a id="updatepassword" _href="/security/user/changepassword" data-title="修改密码"></a></li>
					</ul>
				</dd>
			</dl>
			<dl id="menu-system">
				<dt sec:authorize="hasRole('ROLE_MARKET_QUERY')">
					<i class="Hui-iconfont">&#xe61e;</i> <a _href="/manager/market/list" data-title="营销工具" href="javascript:void(0)">营销工具</a>
				</dt>
			</dl>
			<dl id="menu-system" sec:authorize="hasRole('ROLE_ADSCLASSIFY')">
				<dt>
					<i class="Hui-iconfont">&#xe681;</i> 广告分类 <i class="Hui-iconfont menu_dropdown-arrow">&#xe6d5;</i>
				</dt>
				<dd sec:authorize="hasRole('ROLE_ADSCLASSIFY_QUERY')">
					<ul>
						<li sec:authorize="hasRole('ROLE_REMOTEMONITORING_DISTRIBUTION_QUERY')"><a _href="/manager/adsclassify/list" data-title="分类管理" href="javascript:void(0)">分类管理</a></li>
					</ul>
				</dd>
			</dl>
			<dl id="menu-system" sec:authorize="hasRole('ROLE_REMOTEMONITORING')">
				<dt>
					<i class="Hui-iconfont">&#xe671;</i> 远程监控 <i class="Hui-iconfont menu_dropdown-arrow">&#xe6d5;</i>
				</dt>
				<dd>
					<ul>
						<li sec:authorize="hasRole('ROLE_REMOTEMONITORING_DISTRIBUTION_QUERY')"><a _href="/manager/device/remoteMonitoring" data-title="设备分布" href="javascript:void(0)">设备分布</a></li>
					</ul>
				</dd>
			</dl>
			<dl id="menu-system">
				<dt sec:authorize="hasRole('ROLE_FEEDBACK_QUERY')">
					<i class="Hui-iconfont">&#xe623;</i> <a _href="/manager/feedBack/list" data-title="用户反馈" href="javascript:void(0)">用户反馈</a>
				</dt>
			</dl>
			<dl id="menu-system" sec:authorize="hasRole('ROLE_DESKTOPAPPLICATION')">
				<dt>
					<i class="Hui-iconfont">&#xe6c0;</i> 桌面应用 <i class="Hui-iconfont menu_dropdown-arrow">&#xe6d5;</i>
				</dt>
				<dd>
					<ul>
						<li sec:authorize="hasRole('ROLE_CULTURE_QUERY')"><a _href="/manager/culture/list" data-title="广投墙文旅" href="javascript:void(0)">广投墙文旅</a></li>
						<li sec:authorize="hasRole('ROLE_MEDIA_QUERY')"><a _href="/manager/media/list" data-title="广投墙传媒" href="javascript:void(0)">广投墙传媒</a></li>
					</ul>
				</dd>
			</dl>
			<dl id="menu-system" sec:authorize="hasRole('ROLE_TEMPLATE_MANAGE')">
				<dt>
					<i class="Hui-iconfont">&#xe6c0;</i> 模板管理 <i class="Hui-iconfont menu_dropdown-arrow">&#xe6d5;</i>
				</dt>
				<dd>
					<ul>
						<li sec:authorize="hasRole('ROLE_TEMPLATE_QUERY')"><a _href="/manager/templateType/list" data-title="模板类型" href="javascript:void(0)">模板类型</a></li>
						<li sec:authorize="hasRole('ROLE_APPTEMPLATE_QUERY')"><a _href="/manager/appTemplate/list" data-title="广投墙模板" href="javascript:void(0)">广投墙模板</a></li>
						<li sec:authorize="hasRole('ROLE_TEMPLATELAYOUT_QUERY')"><a _href="/manager/teltemplatelayout/list" data-title="模板布局" href="javascript:void(0)">模板布局</a></li>
					</ul>
				</dd>
			</dl>
		</div>
	</aside>
	<div class="dislpayArrow hidden-xs">
		<a class="pngfix" href="javascript:void(0);" onClick="displaynavbar(this)"></a>
	</div>
	<section class="Hui-article-box">
		<div id="Hui-tabNav" class="Hui-tabNav hidden-xs">
			<div class="Hui-tabNav-wp">
				<ul id="min_title_list" class="acrossTab cl">
					<li class="active"><span title="我的首页" data-href="welcome.html">我的首页</span> <em></em></li>
				</ul>
			</div>
			<div class="Hui-tabNav-more btn-group">
				<a id="js-tabNav-prev" class="btn radius btn-default size-S" href="javascript:;"> <i class="Hui-iconfont">&#xe6d4;</i>
				</a> <a id="js-tabNav-next" class="btn radius btn-default size-S" href="javascript:;"> <i class="Hui-iconfont">&#xe6d7;</i>
				</a>
			</div>
		</div>
		<div id="iframe_box" class="Hui-article">
			<div class="show_iframe">
				<div style="display: none" class="loading"></div>
				<iframe scrolling="yes" frameborder="0" src="welcome.html"></iframe>
			</div>
		</div>
	</section>
	<script type="text/javascript" src="/js/lib/vuejs/1.0.26/vue.js"></script>
	<script type="text/javascript" src="/js/lib/jquery/1.9.1/jquery.min.js"></script>
	<script type="text/javascript" src="/js/lib/layer/2.1/layer.js"></script>
	<script type="text/javascript" src="/js/lib/h-ui/js/H-ui.js"></script>
	<script type="text/javascript" src="/js/lib/h-ui.admin/js/H-ui.admin.js"></script>
	<!--web im sdk-->
	<script type="text/javascript" src="/js/app/webIM/json2.js"></script>
	<script type="text/javascript" src="/js/app/webIM/webim.js"></script>
	<!--web im sdk-->
	<script type="text/javascript" src="/js/app/webIM/IMUtils.js"></script>
	<script type="text/javascript">
		var app = new Vue({
			el : '#app',
			data : {
				pic : false,
				coupon : false,
				houseCar : false,
				video : false,
				plaid : false,
				jewelry : false,
				travel : false,
				classifyProduct : false
			}
		});
		$(function() {
			//修改密码
			$("#changePassword").click(function() {
				$("#updatepassword").click();
			});
			//location.reload([true]); 
			//获取当前用户名登录IM
			getUsig($('#IMuserName').text());
			getTemplateType();
		});
		var getTemplateType = function() {
			$.ajax({
				type : "GET",
				url : '/manager/appTemplate/getTemplateType',
				beforeSend : function() {
				},
				complete : function() {
				},
				error : function(request) {
					layer.alert("系统错误");
				},
				success : function(result) {
					for (var i = 0; i < result.data.length; i++) {
						if (result.data[i].templateTypeSn == "001") {
							app.pic = true;
						}

						if (result.data[i].templateTypeSn == "002") {
							app.video = true;
						}

						if (result.data[i].templateTypeSn == "003") {
							app.houseCar = true;
						}

						if (result.data[i].templateTypeSn == "004") {
							app.coupon = true;
						}

						if (result.data[i].templateTypeSn == "005") {
							app.plaid = true;
						}
						if (result.data[i].templateTypeSn == "006") {
							app.jewelry = true;
						}
						if (result.data[i].templateTypeSn == "007") {
							app.travel = true;
						}
						if (result.data[i].templateTypeSn == "008") {
							app.classifyProduct = true;
						}
					}
				}
			});
		}
	</script>

</body>
</html>